package com.gitee.wsl.compose.ui.base

import androidx.compose.foundation.lazy.rememberLazyListState
import androidx.compose.runtime.Composable

object LazyList {
}

@Composable
fun LazyList.state(initialFirstVisibleItemIndex: Int = 0,
                   initialFirstVisibleItemScrollOffset: Int = 0)
= rememberLazyListState(
    initialFirstVisibleItemIndex,
    initialFirstVisibleItemScrollOffset
)

